/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.me.mahjongcalc.error;

/**
 *
 * @author xelinis
 */
public class MTileValueOutOfBoundsException extends MException {
	private int value;

	private MTileValueOutOfBoundsException() {}

	public MTileValueOutOfBoundsException( int value ) {
		super();
		this.value = value;
	}

	@Override
	public String toString() {
		return "Tile value of " + value + "is out of bounds.";
	}
}
